package com.liuli.entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 * 最新职位表
 * @author liyunfei
 *
 */
@Entity(name="Job")
public class Job {
	
	private Integer jid;//职位ID
	private Integer jpid;//项目ID
	private Integer corpid;//公司id
	private Integer uid;//用户id
	private String name;//职位名称
	private String kind;//工作类型
	private String city;//工作城市  
	private String profession;//职位所属类别
	private String salary;//薪资待遇起点
	private String salaryend;//最高薪资待遇
	private String corpad;//职业诱惑
	private String department;//所属部门
	private String degree;//学历
	private short age1;//年龄1
	private short age2;//年龄2
	private Integer language1;//语言1
	private Integer language2;//语言2
	private Integer languageLevel1;//熟练程度1
	private Integer languageLevel2;//熟练程度2
	private long sex;//性别
	private short validity;//有效期（天）
	private short experience;//工作经验
	private short emergency;//是否紧急招聘
	private short headcount;//招聘人数
	private String welfare;//其他福利
	private String intro;//工作职责
	private String startdate;//招聘开始时间
	private String enddate;//招聘结束时间
	private short views;//访问量
	private short comments;//留言数（提问）
	private short applys;//申请人数
	private short status;//状态,0隐藏，1显示，2删除
	private String auditcause;//审核后留下的信息
	private Integer auditadminid;//审核人（管理员）
	private Integer audittime;//审核时间
	private Integer updatetime;//修改时间
	private Integer addtime;//添加时间（招聘开始时间）
	private short recommend;//是否被推荐
	private String address;//工作详细地址
	
	public Job() {
		// TODO Auto-generated constructor stub
	}

	@Id
    @GeneratedValue(strategy=GenerationType.IDENTITY)
	public Integer getJid() {
		return jid;
	}

	public void setJid(Integer jid) {
		this.jid = jid;
	}

	public Integer getJpid() {
		return jpid;
	}

	public void setJpid(Integer jpid) {
		this.jpid = jpid;
	}

	public Integer getCorpid() {
		return corpid;
	}

	public void setCorpid(Integer corpid) {
		this.corpid = corpid;
	}

	public Integer getUid() {
		return uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getKind() {
		return kind;
	}

	public void setKind(String kind) {
		this.kind = kind;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getProfession() {
		return profession;
	}

	public void setProfession(String profession) {
		this.profession = profession;
	}

	public String getSalary() {
		return salary;
	}

	public void setSalary(String salary) {
		this.salary = salary;
	}

	public String getSalaryend() {
		return salaryend;
	}

	public void setSalaryend(String salaryend) {
		this.salaryend = salaryend;
	}

	public String getCorpad() {
		return corpad;
	}

	public void setCorpad(String corpad) {
		this.corpad = corpad;
	}

	public String getDepartment() {
		return department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public String getDegree() {
		return degree;
	}

	public void setDegree(String degree) {
		this.degree = degree;
	}

	public short getAge1() {
		return age1;
	}

	public void setAge1(short age1) {
		this.age1 = age1;
	}

	public short getAge2() {
		return age2;
	}

	public void setAge2(short age2) {
		this.age2 = age2;
	}

	public Integer getLanguage1() {
		return language1;
	}

	public void setLanguage1(Integer language1) {
		this.language1 = language1;
	}

	public Integer getLanguage2() {
		return language2;
	}

	public void setLanguage2(Integer language2) {
		this.language2 = language2;
	}

	public Integer getLanguageLevel1() {
		return languageLevel1;
	}

	public void setLanguageLevel1(Integer languageLevel1) {
		this.languageLevel1 = languageLevel1;
	}

	public Integer getLanguageLevel2() {
		return languageLevel2;
	}

	public void setLanguageLevel2(Integer languageLevel2) {
		this.languageLevel2 = languageLevel2;
	}

	public long getSex() {
		return sex;
	}

	public void setSex(long sex) {
		this.sex = sex;
	}

	public short getValidity() {
		return validity;
	}

	public void setValidity(short validity) {
		this.validity = validity;
	}

	public short getExperience() {
		return experience;
	}

	public void setExperience(short experience) {
		this.experience = experience;
	}

	public short getEmergency() {
		return emergency;
	}

	public void setEmergency(short emergency) {
		this.emergency = emergency;
	}

	public short getHeadcount() {
		return headcount;
	}

	public void setHeadcount(short headcount) {
		this.headcount = headcount;
	}

	public String getWelfare() {
		return welfare;
	}

	public void setWelfare(String welfare) {
		this.welfare = welfare;
	}

	public String getIntro() {
		return intro;
	}

	public void setIntro(String intro) {
		this.intro = intro;
	}

	public String getStartdate() {
		return startdate;
	}

	public void setStartdate(String startdate) {
		this.startdate = startdate;
	}

	public String getEnddate() {
		return enddate;
	}

	public void setEnddate(String enddate) {
		this.enddate = enddate;
	}

	public short getViews() {
		return views;
	}

	public void setViews(short views) {
		this.views = views;
	}

	public short getComments() {
		return comments;
	}

	public void setComments(short comments) {
		this.comments = comments;
	}

	public short getApplys() {
		return applys;
	}

	public void setApplys(short applys) {
		this.applys = applys;
	}

	public short getStatus() {
		return status;
	}

	public void setStatus(short status) {
		this.status = status;
	}

	public String getAuditcause() {
		return auditcause;
	}

	public void setAuditcause(String auditcause) {
		this.auditcause = auditcause;
	}

	public Integer getAuditadminid() {
		return auditadminid;
	}

	public void setAuditadminid(Integer auditadminid) {
		this.auditadminid = auditadminid;
	}

	public Integer getAudittime() {
		return audittime;
	}

	public void setAudittime(Integer audittime) {
		this.audittime = audittime;
	}

	public Integer getUpdatetime() {
		return updatetime;
	}

	public void setUpdatetime(Integer updatetime) {
		this.updatetime = updatetime;
	}

	public Integer getAddtime() {
		return addtime;
	}

	public void setAddtime(Integer addtime) {
		this.addtime = addtime;
	}

	public short getRecommend() {
		return recommend;
	}

	public void setRecommend(short recommend) {
		this.recommend = recommend;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Job(Integer jpid, Integer corpid, Integer uid, String name,
			String kind, String city, String profession, String salary,
			String salaryend, String corpad, String department, String degree,
			short age1, short age2, Integer language1, Integer language2,
			Integer languageLevel1, Integer languageLevel2, long sex,
			short validity, short experience, short emergency, short headcount,
			String welfare, String intro, String startdate, String enddate,
			short views, short comments, short applys, short status,
			String auditcause, Integer auditadminid, Integer audittime,
			Integer updatetime, Integer addtime, short recommend, String address) {
		super();
		this.jpid = jpid;
		this.corpid = corpid;
		this.uid = uid;
		this.name = name;
		this.kind = kind;
		this.city = city;
		this.profession = profession;
		this.salary = salary;
		this.salaryend = salaryend;
		this.corpad = corpad;
		this.department = department;
		this.degree = degree;
		this.age1 = age1;
		this.age2 = age2;
		this.language1 = language1;
		this.language2 = language2;
		this.languageLevel1 = languageLevel1;
		this.languageLevel2 = languageLevel2;
		this.sex = sex;
		this.validity = validity;
		this.experience = experience;
		this.emergency = emergency;
		this.headcount = headcount;
		this.welfare = welfare;
		this.intro = intro;
		this.startdate = startdate;
		this.enddate = enddate;
		this.views = views;
		this.comments = comments;
		this.applys = applys;
		this.status = status;
		this.auditcause = auditcause;
		this.auditadminid = auditadminid;
		this.audittime = audittime;
		this.updatetime = updatetime;
		this.addtime = addtime;
		this.recommend = recommend;
		this.address = address;
	}

	@Override
	public String toString() {
		return "Job [jid=" + jid + ", jpid=" + jpid + ", corpid=" + corpid
				+ ", uid=" + uid + ", name=" + name + ", kind=" + kind
				+ ", city=" + city + ", profession=" + profession + ", salary="
				+ salary + ", salaryend=" + salaryend + ", corpad=" + corpad
				+ ", department=" + department + ", degree=" + degree
				+ ", age1=" + age1 + ", age2=" + age2 + ", language1="
				+ language1 + ", language2=" + language2 + ", languageLevel1="
				+ languageLevel1 + ", languageLevel2=" + languageLevel2
				+ ", sex=" + sex + ", validity=" + validity + ", experience="
				+ experience + ", emergency=" + emergency + ", headcount="
				+ headcount + ", welfare=" + welfare + ", intro=" + intro
				+ ", startdate=" + startdate + ", enddate=" + enddate
				+ ", views=" + views + ", comments=" + comments + ", applys="
				+ applys + ", status=" + status + ", auditcause=" + auditcause
				+ ", auditadminid=" + auditadminid + ", audittime=" + audittime
				+ ", updatetime=" + updatetime + ", addtime=" + addtime
				+ ", recommend=" + recommend + ", address=" + address + "]";
	}
	
	
	
	

	
   

}
